package app.view.component.buttons 
{
	import flash.display.MovieClip;
	import flash.display.SimpleButton;
	import flash.display.Sprite;
	import flash.events.MouseEvent;
	import com.GColorMatrixFilter;
	/**
	 * ...
	 * @author ...
	 */
	public class ButtonDefault extends SimpleButton
	{
		
		public function ButtonDefault() 
		{
			
		}
		
		public function set StateButton(value:Boolean):void {
			
			this.mouseEnabled = value;
			
			if (value == true) { this.filters = []; }
			else { this.filters = [new GColorMatrixFilter(GColorMatrixFilter.GRAYSCALE).filter]; }
		}
	}
}